﻿<UserControl
    x:Class="EString.PropertyGrid.Editors.NumericEditor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EString.PropertyGrid.Editors"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:es="using:EString.Controls" xmlns:converters="using:EString.Converters" d:DesignHeight="300"
    d:DesignWidth="389">

    <UserControl.Resources>
        <converters:NANConverter x:Key="NanConverter"/>

    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Vertical" d:LayoutOverrides="Height" HorizontalAlignment="Left" VerticalAlignment="Top">
            <es:CustomNUD x:Name="nud" Value="{Binding DataContext, ElementName=LayoutRoot, Mode=TwoWay, 
                    Converter={StaticResource NanConverter}}"></es:CustomNUD>
        </StackPanel>
    </Grid>
</UserControl>

